Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Money3to2.html |
Url | http://hl7.org/fhir/StructureMap/Money3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Money3to2 |
Title | Money Transforms: R3 to R2 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | MoneyTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Money3to2' /// name = 'Money3to2' /// title = 'Money Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/Quantity" alias Quantity as source uses "http://hl7.org/fhir/3.0/Duration" alias Duration as source uses "http://hl7.org/fhir/1.0/Quantity" alias QuantityR2 as target imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/Element3to2" group Quantity(source src : Quantity, target tgt : QuantityR2) extends Element <<type+>> { src.value -> tgt.value "Quantity-value"; src.comparator -> tgt.comparator "Quantity-comparator"; src.unit -> tgt.unit "Quantity-unit"; src.system -> tgt.system "Quantity-system"; src.code -> tgt.code "Quantity-code"; } group DurationToQuantity(source src : Duration, target tgt : QuantityR2) extends Element { src.value -> tgt.value "Duration-value"; src.comparator -> tgt.comparator "Duration-comparator"; src.unit -> tgt.unit "Duration-unit"; src.system -> tgt.system "Duration-system"; src.code -> tgt.code "Duration-code"; }
{
"resourceType" : "StructureMap",
"id" : "Money3to2",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Money3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Money3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Money Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Quantity<span style=\"color: navy\">" </span><b>alias </b>Quantity <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Duration<span style=\"color: navy\">" </span><b>alias </b>Duration <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Quantity<span style=\"color: navy\">" </span><b>alias </b>QuantityR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives3to2.html\" title=\"Primitive Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/primitives3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element3to2.html\" title=\"Period Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Element3to2</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Quantity<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Quantity, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>QuantityR2<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"Quantity-value"</i><span style=\"color: navy\">;</span>\r\n src.comparator<span style=\"color: navy\"><b> -> </b></span>tgt.comparator <i>"Quantity-comparator"</i><span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -> </b></span>tgt.unit <i>"Quantity-unit"</i><span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"Quantity-system"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Quantity-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>DurationToQuantity<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Duration, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>QuantityR2<span style=\"color: navy\">)</span><b> extends </b>Element<span style=\"color: navy\"> {\r\n</span> src.value<span style=\"color: navy\"><b> -> </b></span>tgt.value <i>"Duration-value"</i><span style=\"color: navy\">;</span>\r\n src.comparator<span style=\"color: navy\"><b> -> </b></span>tgt.comparator <i>"Duration-comparator"</i><span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -> </b></span>tgt.unit <i>"Duration-unit"</i><span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system <i>"Duration-system"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Duration-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Money3to2",
"version" : "0.1.0",
"name" : "Money3to2",
"title" : "Money Transforms: R3 to R2",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "MoneyTransformsR3toR2",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/Quantity",
"mode" : "source",
"alias" : "Quantity"
},
{
"url" : "http://hl7.org/fhir/3.0/Duration",
"mode" : "source",
"alias" : "Duration"
},
{
"url" : "http://hl7.org/fhir/1.0/Quantity",
"mode" : "target",
"alias" : "QuantityR2"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/primitives3to2",
"http://hl7.org/fhir/StructureMap/Element3to2"
],
"group" : [
{
"name" : "Quantity",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "Quantity",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "QuantityR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Quantity-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-comparator",
"source" : [
{
"context" : "src",
"element" : "comparator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comparator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-unit",
"source" : [
{
"context" : "src",
"element" : "unit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "unit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Quantity-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "DurationToQuantity",
"extends" : "Element",
"input" : [
{
"name" : "src",
"type" : "Duration",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "QuantityR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Duration-value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-comparator",
"source" : [
{
"context" : "src",
"element" : "comparator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comparator",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-unit",
"source" : [
{
"context" : "src",
"element" : "unit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "unit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Duration-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.